PowerTCP Mail for .NET
Resource Constructor(Byte[],String)




Used to initialize Content.
Used to initialize ContentType.Name.
Constructor used to create a new Resource and associate it with existing binary data.
Syntax
Public Function New( _
   ByVal content() As Byte, _
   ByVal name As String _
)
Dim content() As Byte
Dim name As String
 
Dim instance As New Resource(content, name)
public Resource( 
   byte[] content,
   string name
)
public: Resource( 
   byte[]* content,
   string* name
)
public:
Resource( 
   array<byte>^ content,
   String^ name
)

Parameters

content
Used to initialize Content.
name
Used to initialize ContentType.Name.
Remarks
ContentType.MediaType is set using GetMediaTypeFromExtension.
See Also

Reference

Resource Class
Resource Members
Overload List


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic